const { get, post } = require('./http')

// 获取商学院列表
export const getClubList = (params) => {
    return get('/data/api.auth.member/clublist', params)
}
// 获取职务列表
export const getJobList = (params) => {
    return get('/data/api.auth.activity/getjob', params)
}
// 获取行业列表
export const getTradeList = (params) => {
    return get('/data/api.auth.activity/gettrade', params)
}
// 获取已填写过的商学院列表
export const getClubListMember = (params) => {
    return get('/data/api.auth.member/clublistmember', params)
}
// 会员申请
export const applyMember = (params, url) => {
    return post(`/data/api.auth.member/${url}`, params)
}
// 获取个人信息
export const getInfo = (params) => {
    return get('/data/api.auth.member/getinfo', params)
}
// 获取会员比赛
export const getMemberMatch = (params) => {
    return get('/data/api.auth.caliancematch/getmembermatch', params)
}
// 获取我的球局
export const getMyMatch = (params) => {
    return get('/data/api.auth.playermatch/mymatchlist', params)
}
// 获取关联学院的回显信息
export const getMyClubInfo = (params) => {
    return get('/data/api.auth.member/getclubinfo', params)
}
// 个人中心查看成绩
export const getMyScore = (params) => {
    return get('/data/api.auth.playermatch/getmysocre', params)
}
// 添加学院 
export const addClub = (params) => {
    return get('/data/api.auth.caliancematch/addclub', params)
}
// 【联名会员支付】（注意：如果支付金额为0不会返回支付参数） 
export const getWxpay = (params) => {
    return get('/data/api.auth.member/lianming_ghl_wxpay', params)
}
export const getMemberPay = (params) => {
    return get('/data/api.auth.member/lianming_member_wxpay', params)
}
export const getMemberCard = (params) => {
    return get('/data/api.auth.member/getmembercard', params)
}
 
//个人主页相关
// 获取最近十场球局分数
export const getRecentScore = (params) => {
    return get('/data/api.auth.caliancematch/getpersonmatchscore', params)
}

